<template>
  <Icon :icon="props.icon" :height="props.size" :width="props.size" v-bind="$attrs" />
</template>

<script setup lang="ts">
import { Icon } from '@iconify/vue'

const props = withDefaults(
  defineProps<{
    size?: number
    icon: string
  }>(),
  {
    size: 20,
  },
)
</script>
